//
//  WDCustomSheet.h
//  WDCustomView
//
//  Created by WD on 2016/11/24.
//  Copyright © 2016年 WD. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol WDCustomSheetDelegate;

@interface WDCustomSheet : UIView

@property (nonatomic,weak) id<WDCustomSheetDelegate>delegate;
/** title */
@property (nonatomic, strong)NSString *title;

-(WDCustomSheet*)initWithButtons:(NSArray*)allButtons isOriginal:(BOOL)isOriginal;

@end

@protocol WDCustomSheetDelegate <NSObject>

-(void)customSheet:(WDCustomSheet *)sheet clickButton:(NSUInteger)index;

@end
